Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

58
Views
Getting "Failed to lookup view in views directory" but project is well before

[https://stackoverflow.com/questions/70819445/router-use-requires-a-middleware-function-but-got-undefined][1]

so my question is still related to previous question n for now I add google login but when I click google login button then showed error like this

also yesterday my project still can running well with only google login error but today I checked my project and then I got this error even when just running project again as same as when I click on google login button

Error: Failed to lookup view "error" in views directory "C:\Users\Refia\OneDrive\Documents\skilogictest\skill_logic\Skill Test\app_auth\views"
    at Function.render (C:\Users\Refia\OneDrive\Documents\skilogictest\skill_logic\Skill Test\app_auth\node_modules\express\lib\application.js:580:17)
    at ServerResponse.render (C:\Users\Refia\OneDrive\Documents\skilogictest\skill_logic\Skill Test\app_auth\node_modules\express\lib\response.js:1008:7)
    at C:\Users\Refia\OneDrive\Documents\skilogictest\skill_logic\Skill Test\app_auth\app.js:55:7
    at Layer.handle_error (C:\Users\Refia\OneDrive\Documents\skilogictest\skill_logic\Skill Test\app_auth\node_modules\express\lib\router\layer.js:71:5)
    at trim_prefix (C:\Users\Refia\OneDrive\Documents\skilogictest\skill_logic\Skill Test\app_auth\node_modules\express\lib\router\index.js:315:13)
    at C:\Users\Refia\OneDrive\Documents\skilogictest\skill_logic\Skill Test\app_auth\node_modules\express\lib\router\index.js:284:7
    at Function.process_params (C:\Users\Refia\OneDrive\Documents\skilogictest\skill_logic\Skill Test\app_auth\node_modules\express\lib\router\index.js:335:12)
    at next (C:\Users\Refia\OneDrive\Documents\skilogictest\skill_logic\Skill Test\app_auth\node_modules\express\lib\router\index.js:275:10)
    at Layer.handle_error (C:\Users\Refia\OneDrive\Documents\skilogictest\skill_logic\Skill Test\app_auth\node_modules\express\lib\router\layer.js:67:12)
    at trim_prefix (C:\Users\Refia\OneDrive\Documents\skilogictest\skill_logic\Skill Test\app_auth\node_modules\express\lib\router\index.js:315:13)

thanks for any answers and helps

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!